import request from '@/utils/request'
// 查询分页列表
export const gettabledatalistapi = params => request.get('mbm-microservice-biz/mbm/cost/cash/draw/page', { params })
// 新增
export const postaddtuikuanapi = data => request.post('mbm-microservice-biz/mbm/cost/cash/draw/add', data)
// 修改
export const putupdatetuikuanapi = data => request.post('mbm-microservice-biz/mbm/cost/cash/draw/update', data)
// 删除
export const deletetuikuanapi = data => request.post(`mbm-microservice-biz/mbm/cost/cash/draw/delete?id=${data.id}`)
// 审核
export const postshenheapi = data => request.post('mbm-microservice-biz/mbm/cost/cash/draw/check', data)
// 退款完成
export const postsuretuikuanapi=data=>request.post(`mbm-microservice-biz/mbm/cost/cash/draw/finish?id=${data.id}`)